home *** CD-ROM | disk | FTP | other *** search
MacBinary | 1992-04-16 | 9.5 KB | [TEXT/AIFC] |
open in:
MacOS 8.1
|
Win98
|
DOS
browse contents |
view JSON data
|
view as text
This file was processed as: MacBinary
(archive/macBinary).
Confidence | Program | Detection | Match Type | Support
|
---|
10%
| dexvert
| MacBinary (archive/macBinary)
| fallback
| Supported |
1%
| dexvert
| Text File (text/txt)
| fallback
| Supported |
100%
| file
| MacBinary II, inited, Thu Apr 16 00:54:30 1992, modified Thu Apr 16 00:54:30 1992, creator 'AIFC', type ASCII, 8933 bytes "Apple Event Notes" , at 0x2365 522 bytes resource
| default (weak)
| |
99%
| file
| data
| default
| |
74%
| TrID
| Macintosh plain text (MacBinary)
| default
| |
25%
| TrID
| MacBinary 2
| default (weak)
| |
100%
| siegfried
| fmt/1762 MacBinary (II)
| default
| |
100%
| lsar
| MacBinary
| default
|
|
id metadata |
---|
key | value |
---|
macFileType | [TEXT] |
macFileCreator | [AIFC] |
hex view+--------+-------------------------+-------------------------+--------+--------+
|00000000| 00 11 41 70 70 6c 65 20 | 45 76 65 6e 74 20 4e 6f |..Apple |Event No|
|00000010| 74 65 73 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |tes.....|........|
|00000020| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000030| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000040| 00 54 45 58 54 41 49 46 | 43 01 00 00 00 00 00 00 |.TEXTAIF|C.......|
|00000050| 00 00 00 00 00 22 e5 00 | 00 02 0a a6 12 b9 06 a6 |....."..|........|
|00000060| 12 b9 06 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000070| 00 00 00 00 00 00 00 00 | 00 00 81 81 ea 5b 00 00 |........|.....[..|
|00000080| 2f 2a 0d 41 70 70 6c 65 | 20 45 76 65 6e 74 20 4e |/*.Apple| Event N|
|00000090| 6f 74 65 73 3a 0d 66 6f | 72 20 41 41 49 53 20 46 |otes:.fo|r AAIS F|
|000000a0| 75 6c 6c 20 43 6f 6e 74 | 72 6f 6c 20 50 72 6f 6c |ull Cont|rol Prol|
|000000b0| 6f 67 2c 20 56 65 72 73 | 69 6f 6e 20 33 2e 30 0d |og, Vers|ion 3.0.|
|000000c0| 0d 43 6f 70 79 72 69 67 | 68 74 2c 20 a9 20 31 39 |.Copyrig|ht, . 19|
|000000d0| 39 32 20 41 64 76 61 6e | 63 65 64 20 41 2e 20 49 |92 Advan|ced A. I|
|000000e0| 2e 20 53 79 73 74 65 6d | 73 2c 20 49 6e 63 2e 0d |. System|s, Inc..|
|000000f0| 41 6c 6c 20 72 69 67 68 | 74 73 20 72 65 73 65 72 |All righ|ts reser|
|00000100| 76 65 64 2e 0d 54 68 69 | 73 20 66 69 6c 65 20 6d |ved..Thi|s file m|
|00000110| 61 79 20 6e 6f 74 20 62 | 65 20 63 6f 70 69 65 64 |ay not b|e copied|
|00000120| 20 6f 72 20 64 69 73 74 | 72 69 62 75 74 65 64 20 | or dist|ributed |
|00000130| 77 69 74 68 6f 75 74 20 | 74 68 65 20 0d 77 72 69 |without |the .wri|
|00000140| 74 74 65 6e 20 70 65 72 | 6d 69 73 73 69 6f 6e 20 |tten per|mission |
|00000150| 6f 66 20 41 64 76 61 6e | 63 65 64 20 41 2e 20 49 |of Advan|ced A. I|
|00000160| 2e 20 53 79 73 74 65 6d | 73 2c 20 49 6e 63 2e 0d |. System|s, Inc..|
|00000170| 0d 44 61 74 65 3a 20 31 | 35 20 41 70 72 69 6c 20 |.Date: 1|5 April |
|00000180| 31 39 39 32 0d 0d 54 68 | 69 73 20 66 69 6c 65 20 |1992..Th|is file |
|00000190| 63 6f 6e 74 61 69 6e 73 | 3a 0d a5 20 4e 65 77 20 |contains|:.. New |
|000001a0| 49 6e 66 6f 72 6d 61 74 | 69 6f 6e 20 61 6e 64 20 |Informat|ion and |
|000001b0| 66 75 6e 63 74 69 6f 6e | 73 20 63 6f 6e 63 65 72 |function|s concer|
|000001c0| 6e 69 6e 67 20 41 70 70 | 6c 65 20 45 76 65 6e 74 |ning App|le Event|
|000001d0| 73 2e 0d a5 20 53 6f 6d | 65 20 66 61 63 74 73 20 |s... Som|e facts |
|000001e0| 61 62 6f 75 74 20 75 73 | 69 6e 67 20 41 70 70 6c |about us|ing Appl|
|000001f0| 65 20 45 76 65 6e 74 73 | 2e 0d 0d 41 6c 73 6f 20 |e Events|...Also |
|00000200| 73 65 65 20 74 68 65 20 | 22 47 75 69 64 65 22 20 |see the |"Guide" |
|00000210| 66 69 6c 65 20 69 6e 20 | 74 68 69 73 20 73 61 6d |file in |this sam|
|00000220| 65 20 66 6f 6c 64 65 72 | 20 66 6f 72 20 69 6e 66 |e folder| for inf|
|00000230| 6f 72 6d 61 74 69 6f 6e | 0d 61 62 6f 75 74 20 65 |ormation|.about e|
|00000240| 61 63 68 20 66 69 6c 65 | 20 63 6f 6e 74 61 69 6e |ach file| contain|
|00000250| 65 64 20 69 6e 20 74 68 | 69 73 20 66 6f 6c 64 65 |ed in th|is folde|
|00000260| 72 2e 0d 0d 54 6f 70 69 | 63 73 20 69 6e 20 74 68 |r...Topi|cs in th|
|00000270| 69 73 20 66 69 6c 65 3a | 0d 0d 52 65 70 6c 79 20 |is file:|..Reply |
|00000280| 4d 6f 64 65 20 44 65 66 | 61 75 6c 74 20 48 61 73 |Mode Def|ault Has|
|00000290| 20 43 68 61 6e 67 65 64 | 20 2d 2d 20 4e 6f 77 20 | Changed| -- Now |
|000002a0| 69 73 20 71 75 65 75 65 | 5f 72 65 70 6c 79 0d 44 |is queue|_reply.D|
|000002b0| 6f 6e 27 74 20 55 73 65 | 20 77 61 69 74 5f 72 65 |on't Use| wait_re|
|000002c0| 70 6c 79 20 4d 6f 64 65 | 0d 57 68 65 6e 20 74 6f |ply Mode|.When to|
|000002d0| 20 55 73 65 20 61 65 44 | 69 73 70 6f 73 65 44 65 | Use aeD|isposeDe|
|000002e0| 73 63 0d 44 65 62 75 67 | 67 69 6e 67 20 61 6e 64 |sc.Debug|ging and|
|000002f0| 20 42 72 65 61 6b 20 50 | 6f 69 6e 74 73 20 57 68 | Break P|oints Wh|
|00000300| 65 6e 20 52 65 73 70 6f | 6e 64 69 6e 67 20 74 6f |en Respo|nding to|
|00000310| 20 41 70 70 6c 65 20 45 | 76 65 6e 74 73 2e 0d 4b | Apple E|vents..K|
|00000320| 65 79 57 6f 72 64 20 44 | 65 73 63 72 69 70 74 6f |eyWord D|escripto|
|00000330| 72 20 4c 69 73 74 73 20 | 41 72 65 20 41 6c 73 6f |r Lists |Are Also|
|00000340| 20 53 75 70 70 6f 72 74 | 65 64 2e 0d 52 65 70 6c | Support|ed..Repl|
|00000350| 79 20 48 6f 6f 6b 73 20 | 61 6e 64 20 74 68 65 20 |y Hooks |and the |
|00000360| 53 70 65 63 69 61 6c 20 | 53 79 6d 62 6f 6c 73 3a |Special |Symbols:|
|00000370| 20 76 61 6c 75 65 20 61 | 6e 64 20 72 65 70 6c 79 | value a|nd reply|
|00000380| 5f 76 61 6c 75 65 0d 41 | 64 64 69 74 69 6f 6e 61 |_value.A|dditiona|
|00000390| 6c 20 4c 61 75 6e 63 68 | 20 46 75 6e 63 74 69 6f |l Launch| Functio|
|000003a0| 6e 0d 4c 61 75 6e 63 68 | 69 6e 67 20 41 6c 72 65 |n.Launch|ing Alre|
|000003b0| 61 64 79 20 52 75 6e 6e | 69 6e 67 20 41 70 70 6c |ady Runn|ing Appl|
|000003c0| 69 63 61 74 69 6f 6e 73 | 2e 0d 52 65 70 6c 79 20 |ications|..Reply |
|000003d0| 48 6f 6f 6b 20 56 61 72 | 69 61 62 6c 65 73 20 41 |Hook Var|iables A|
|000003e0| 72 65 20 4c 6f 63 61 6c | 20 54 6f 20 54 68 65 20 |re Local| To The |
|000003f0| 52 65 70 6c 79 20 48 6f | 6f 6b 20 4f 6e 6c 79 0d |Reply Ho|ok Only.|
|00000400| 0d 0d a5 a5 a5 a5 a5 a5 | a5 a5 a5 a5 a5 a5 a5 a5 |........|........|
|00000410| a5 a5 a5 a5 a5 a5 a5 a5 | a5 a5 a5 a5 a5 a5 a5 a5 |........|........|
|00000420| a5 a5 a5 a5 a5 a5 a5 a5 | a5 a5 a5 a5 a5 a5 a5 a5 |........|........|
|00000430| a5 a5 a5 a5 a5 a5 a5 a5 | a5 a5 a5 a5 a5 0d 0d 52 |........|.......R|
|00000440| 65 70 6c 79 20 4d 6f 64 | 65 20 44 65 66 61 75 6c |eply Mod|e Defaul|
|00000450| 74 20 48 61 73 20 43 68 | 61 6e 67 65 64 20 2d 2d |t Has Ch|anged --|
|00000460| 20 4e 6f 77 20 69 73 20 | 71 75 65 75 65 5f 72 65 | Now is |queue_re|
|00000470| 70 6c 79 0d 0d 54 68 65 | 20 64 65 66 61 75 6c 74 |ply..The| default|
|00000480| 20 66 6f 72 20 72 65 70 | 6c 79 20 6d 6f 64 65 20 | for rep|ly mode |
|00000490| 68 61 73 20 62 65 65 6e | 20 63 68 61 6e 67 65 64 |has been| changed|
|000004a0| 20 74 6f 20 71 75 65 75 | 65 5f 72 65 70 6c 79 2e | to queu|e_reply.|
|000004b0| 0d 54 68 65 20 6d 61 6e | 75 61 6c 20 73 61 69 64 |.The man|ual said|
|000004c0| 20 69 74 20 77 61 73 20 | 77 61 69 74 5f 72 65 70 | it was |wait_rep|
|000004d0| 6c 79 2e 20 20 54 68 65 | 20 63 68 61 6e 67 65 20 |ly. The| change |
|000004e0| 77 61 73 20 6d 61 64 65 | 20 62 65 63 61 75 73 65 |was made| because|
|000004f0| 0d 69 66 20 79 6f 75 20 | 73 70 65 63 69 66 79 20 |.if you |specify |
|00000500| 77 61 69 74 5f 72 65 70 | 6c 79 20 61 6e 64 20 6e |wait_rep|ly and n|
|00000510| 6f 20 72 65 70 6c 79 20 | 63 6f 6d 65 73 2c 20 74 |o reply |comes, t|
|00000520| 68 65 20 73 79 73 74 65 | 6d 20 63 61 6e 20 6c 6f |he syste|m can lo|
|00000530| 63 6b 2c 0d 61 6e 64 20 | 74 68 65 72 65 20 69 73 |ck,.and |there is|
|00000540| 20 6e 6f 20 77 61 79 2c | 20 69 6e 63 6c 75 64 69 | no way,| includi|
|00000550| 6e 67 20 77 69 74 68 20 | 4d 61 63 62 75 67 73 20 |ng with |Macbugs |
|00000560| 74 6f 20 72 65 67 61 69 | 6e 20 63 6f 6e 74 72 6f |to regai|n contro|
|00000570| 6c 20 0d 6f 66 20 50 72 | 6f 6c 6f 67 2e 20 20 43 |l .of Pr|olog. C|
|00000580| 75 72 72 65 6e 74 6c 79 | 20 74 69 6d 65 5f 6f 75 |urrently| time_ou|
|00000590| 74 20 64 6f 65 73 20 6e | 6f 74 20 61 6c 77 61 79 |t does n|ot alway|
|000005a0| 73 20 73 65 65 6d 20 74 | 6f 20 62 65 20 77 6f 72 |s seem t|o be wor|
|000005b0| 6b 69 6e 67 0d 61 6e 64 | 20 64 6f 65 73 20 6e 6f |king.and| does no|
|000005c0| 74 20 67 75 61 72 65 6e | 74 65 65 20 72 65 67 61 |t guaren|tee rega|
|000005d0| 69 6e 69 6e 67 20 63 6f | 6e 74 72 6f 6c 2e 0d 0d |ining co|ntrol...|
|000005e0| 54 68 75 73 20 74 6f 20 | 61 76 6f 69 64 20 74 68 |Thus to |avoid th|
|000005f0| 69 73 20 70 72 6f 62 6c | 65 6d 2c 20 74 68 65 20 |is probl|em, the |
|00000600| 64 65 66 61 75 6c 74 20 | 68 61 73 20 62 65 65 6e |default |has been|
|00000610| 20 63 68 61 6e 67 65 64 | 20 74 6f 20 71 75 65 75 | changed| to queu|
|00000620| 65 5f 72 65 70 6c 79 2e | 0d 0d 59 6f 75 20 63 61 |e_reply.|..You ca|
|00000630| 6e 20 61 6c 77 61 79 73 | 20 67 6f 20 69 6e 74 6f |n always| go into|
|00000640| 20 61 20 6c 6f 6f 70 20 | 77 61 69 74 69 6e 67 20 | a loop |waiting |
|00000650| 66 6f 72 20 73 6f 6d 65 | 74 68 69 6e 67 20 74 6f |for some|thing to|
|00000660| 20 62 65 20 61 73 73 65 | 72 74 65 64 20 69 6e 0d | be asse|rted in.|
|00000670| 79 6f 75 72 20 6d 61 69 | 6e 20 70 72 6f 67 72 61 |your mai|n progra|
|00000680| 6d 20 62 65 66 6f 72 65 | 20 63 6f 6e 74 69 6e 75 |m before| continu|
|00000690| 69 6e 67 2e 20 20 54 68 | 69 73 20 61 73 73 65 72 |ing. Th|is asser|
|000006a0| 74 69 6f 6e 20 77 6f 75 | 6c 64 20 62 65 20 70 65 |tion wou|ld be pe|
|000006b0| 72 66 6f 72 6d 65 64 0d | 62 79 20 79 6f 75 72 20 |rformed.|by your |
|000006c0| 72 65 70 6c 79 20 68 6f | 6f 6b 2e 0d 0d a5 a5 a5 |reply ho|ok......|
|000006d0| a5 a5 a5 a5 a5 a5 a5 a5 | a5 a5 a5 a5 a5 a5 a5 a5 |........|........|
|000006e0| a5 a5 a5 a5 a5 a5 a5 a5 | a5 a5 a5 a5 a5 a5 a5 a5 |........|........|
|000006f0| a5 a5 a5 a5 a5 a5 a5 a5 | a5 a5 a5 a5 a5 a5 a5 a5 |........|........|
|00000700| a5 a5 a5 a5 a5 a5 a5 a5 | 0d 0d 44 6f 6e 27 74 20 |........|..Don't |
|00000710| 55 73 65 20 77 61 69 74 | 5f 72 65 70 6c 79 20 4d |Use wait|_reply M|
|00000720| 6f 64 65 0d 0d 46 6f 72 | 20 74 68 65 20 73 61 6d |ode..For| the sam|
|00000730| 65 20 72 65 61 73 6f 6e | 20 61 73 20 65 78 70 72 |e reason| as expr|
|00000740| 65 73 73 65 64 20 61 62 | 6f 76 65 2c 20 64 6f 6e |essed ab|ove, don|
|00000750| 27 74 20 75 73 65 20 77 | 61 69 74 5f 72 65 70 6c |'t use w|ait_repl|
|00000760| 79 20 6d 6f 64 65 0d 75 | 6e 6c 65 73 73 20 79 6f |y mode.u|nless yo|
|00000770| 75 20 6b 6e 6f 77 20 61 | 20 72 65 70 6c 79 20 77 |u know a| reply w|
|00000780| 69 6c 6c 20 62 65 20 72 | 65 74 75 72 6e 65 64 2e |ill be r|eturned.|
|00000790| 20 20 44 65 66 69 6e 69 | 74 65 6c 79 20 64 6f 20 | Defini|tely do |
|000007a0| 6e 6f 74 20 75 73 65 20 | 69 74 0d 69 66 20 79 6f |not use |it.if yo|
|000007b0| 75 20 61 72 65 20 65 78 | 70 65 72 69 6d 65 6e 74 |u are ex|periment|
|000007c0| 69 6e 67 20 6f 72 20 70 | 6c 61 79 69 6e 67 20 77 |ing or p|laying w|
|000007d0| 69 74 68 20 41 70 70 6c | 65 20 45 76 65 6e 74 73 |ith Appl|e Events|
|000007e0| 20 6f 72 20 64 65 62 75 | 67 67 69 6e 67 20 0d 6e | or debu|gging .n|
|000007f0| 65 77 20 63 6f 64 65 2e | 0d 0d a5 a5 a5 a5 a5 a5 |ew code.|........|
|00000800| a5 a5 a5 a5 a5 a5 a5 a5 | a5 a5 a5 a5 a5 a5 a5 a5 |........|........|
|00000810| a5 a5 a5 a5 a5 a5 a5 a5 | a5 a5 a5 a5 a5 a5 a5 a5 |........|........|
|00000820| a5 a5 a5 a5 a5 a5 a5 a5 | a5 a5 a5 a5 a5 a5 a5 a5 |........|........|
|00000830| a5 a5 a5 a5 a5 0d 0d 57 | 68 65 6e 20 74 6f 20 55 |.......W|hen to U|
|00000840| 73 65 20 61 65 44 69 73 | 70 6f 73 65 44 65 73 63 |se aeDis|poseDesc|
|00000850| 0d 0d 41 65 64 65 73 63 | 2c 20 61 65 64 65 73 63 |..Aedesc|, aedesc|
|00000860| 6c 69 73 74 2c 20 61 65 | 72 65 63 6f 72 64 2c 20 |list, ae|record, |
|00000870| 61 6e 64 20 61 70 70 6c | 65 20 65 76 65 6e 74 20 |and appl|e event |
|00000880| 72 65 63 6f 72 64 73 20 | 74 68 61 74 20 61 72 65 |records |that are|
|00000890| 20 63 72 65 61 74 65 64 | 20 0d 62 79 20 63 72 65 | created| .by cre|
|000008a0| 61 74 65 20 6f 72 20 69 | 6e 64 69 72 65 63 74 6c |ate or i|ndirectl|
|000008b0| 79 20 62 79 20 63 72 65 | 61 74 65 20 77 68 65 6e |y by cre|ate when|
|000008c0| 20 63 61 6c 6c 69 6e 67 | 20 61 20 72 6f 6d 20 74 | calling| a rom t|
|000008d0| 72 61 70 20 64 6f 20 6e | 6f 74 20 6e 65 65 64 20 |rap do n|ot need |
|000008e0| 0d 74 6f 20 68 61 76 65 | 20 61 65 44 69 73 70 6f |.to have| aeDispo|
|000008f0| 73 65 44 65 73 63 20 63 | 61 6c 6c 65 64 20 74 6f |seDesc c|alled to|
|00000900| 20 64 69 73 70 6f 73 65 | 20 6f 66 20 74 68 65 6d | dispose| of them|
|00000910| 2e 20 20 0d 54 68 65 20 | 64 65 73 74 72 6f 79 20 |. .The |destroy |
|00000920| 66 75 6e 63 74 69 6f 6e | 20 66 6f 72 20 74 68 65 |function| for the|
|00000930| 73 65 20 6f 62 6a 65 63 | 74 73 20 63 61 6c 6c 73 |se objec|ts calls|
|00000940| 20 61 65 44 69 73 70 6f | 73 65 44 65 73 63 2e 20 | aeDispo|seDesc. |
|00000950| 20 0d 54 68 65 72 65 66 | 6f 72 65 20 79 6f 75 20 | .Theref|ore you |
|00000960| 6f 6e 6c 79 20 6e 65 65 | 64 20 74 6f 20 63 61 6c |only nee|d to cal|
|00000970| 6c 20 61 65 44 69 73 70 | 6f 73 65 44 65 73 63 20 |l aeDisp|oseDesc |
|00000980| 69 66 20 79 6f 75 20 63 | 72 65 61 74 65 20 69 74 |if you c|reate it|
|00000990| 20 69 6e 20 73 75 63 68 | 20 0d 61 20 77 61 79 20 | in such| .a way |
|000009a0| 74 68 61 74 20 69 74 20 | 69 73 20 61 20 66 61 6b |that it |is a fak|
|000009b0| 65 20 6f 62 6a 65 63 74 | 2c 20 61 6e 64 20 77 69 |e object|, and wi|
|000009c0| 6c 6c 20 6e 6f 74 20 68 | 61 76 65 20 69 74 73 20 |ll not h|ave its |
|000009d0| 64 65 73 74 72 6f 79 20 | 66 75 6e 63 74 69 6f 6e |destroy |function|
|000009e0| 20 0d 63 61 6c 6c 65 64 | 2e 20 20 54 68 69 73 20 | .called|. This |
|000009f0| 73 68 6f 75 6c 64 20 61 | 6c 6d 6f 73 74 20 6e 65 |should a|lmost ne|
|00000a00| 76 65 72 20 68 61 70 70 | 65 6e 2c 20 75 6e 6c 65 |ver happ|en, unle|
|00000a10| 73 73 20 79 6f 75 20 63 | 72 65 61 74 65 20 74 68 |ss you c|reate th|
|00000a20| 65 20 61 65 64 65 73 63 | 0d 69 6e 73 69 64 65 20 |e aedesc|.inside |
|00000a30| 61 20 66 6f 72 65 69 67 | 6e 20 63 6f 64 65 20 72 |a foreig|n code r|
|00000a40| 65 73 6f 75 72 63 65 2c | 20 6f 72 20 61 6c 6c 6f |esource,| or allo|
|00000a50| 63 61 74 65 20 69 74 20 | 77 69 74 68 20 6e 65 77 |cate it |with new|
|00000a60| 70 74 72 2f 63 72 65 61 | 74 65 5f 70 74 72 20 61 |ptr/crea|te_ptr a|
|00000a70| 6e 64 0d 75 73 65 20 73 | 65 74 5f 70 74 72 5f 74 |nd.use s|et_ptr_t|
|00000a80| 79 70 65 2e 0d 43 61 6c | 6c 69 6e 67 20 61 65 44 |ype..Cal|ling aeD|
|00000a90| 69 73 70 6f 73 65 44 65 | 73 63 20 64 69 72 65 63 |isposeDe|sc direc|
|00000aa0| 74 6c 79 20 68 6f 77 65 | 76 65 72 20 77 69 6c 6c |tly howe|ver will|
|00000ab0| 20 6e 6f 74 20 63 72 65 | 61 74 65 20 61 6e 20 65 | not cre|ate an e|
|00000ac0| 72 72 6f 72 2c 0d 6a 75 | 73 74 20 65 78 74 72 61 |rror,.ju|st extra|
|00000ad0| 20 77 6f 72 6b 2e 0d 0d | 57 68 65 6e 20 79 6f 75 | work...|When you|
|00000ae0| 20 63 61 6c 6c 20 61 65 | 43 72 65 61 74 65 44 65 | call ae|CreateDe|
|00000af0| 73 63 2c 20 74 68 65 20 | 73 79 73 74 65 6d 20 77 |sc, the |system w|
|00000b00| 69 6c 6c 20 61 75 74 6f | 6d 61 74 69 63 61 6c 6c |ill auto|maticall|
|00000b10| 79 20 63 61 6c 6c 20 61 | 65 44 65 73 74 72 6f 79 |y call a|eDestroy|
|00000b20| 44 65 73 63 0d 77 68 65 | 6e 20 6e 6f 74 68 69 6e |Desc.whe|n nothin|
|00000b30| 67 20 70 6f 69 6e 74 73 | 20 74 6f 20 74 68 69 73 |g points| to this|
|00000b40| 20 6e 65 77 20 64 65 73 | 63 72 69 70 74 6f 72 20 | new des|criptor |
|00000b50| 72 65 63 6f 72 64 2e 0d | 0d a5 a5 a5 a5 a5 a5 a5 |record..|........|
|00000b60| a5 a5 a5 a5 a5 a5 a5 a5 | a5 a5 a5 a5 a5 a5 a5 a5 |........|........|
|00000b70| a5 a5 a5 a5 a5 a5 a5 a5 | a5 a5 a5 a5 a5 a5 a5 a5 |........|........|
|00000b80| a5 a5 a5 a5 a5 a5 a5 a5 | a5 a5 a5 a5 a5 a5 a5 a5 |........|........|
|00000b90| a5 a5 a5 a5 0d 0d 44 65 | 62 75 67 67 69 6e 67 20 |......De|bugging |
|00000ba0| 61 6e 64 20 42 72 65 61 | 6b 20 50 6f 69 6e 74 73 |and Brea|k Points|
|00000bb0| 20 57 68 65 6e 20 52 65 | 73 70 6f 6e 64 69 6e 67 | When Re|sponding|
|00000bc0| 20 74 6f 20 41 70 70 6c | 65 20 45 76 65 6e 74 73 | to Appl|e Events|
|00000bd0| 2e 0d 0d 49 66 20 79 6f | 75 20 75 73 65 20 61 65 |...If yo|u use ae|
|00000be0| 53 65 74 49 6e 74 65 72 | 61 63 74 69 6f 6e 41 6c |SetInter|actionAl|
|00000bf0| 6c 6f 77 65 64 20 74 6f | 20 61 20 6c 65 76 65 6c |lowed to| a level|
|00000c00| 20 74 68 61 74 20 77 69 | 6c 6c 20 73 70 65 63 69 | that wi|ll speci|
|00000c10| 66 79 20 74 6f 20 6e 6f | 74 20 0d 69 6e 74 65 72 |fy to no|t .inter|
|00000c20| 72 75 70 74 20 74 68 65 | 20 75 73 65 72 20 77 68 |rupt the| user wh|
|00000c30| 65 6e 20 73 65 72 76 69 | 6e 67 20 61 6e 20 61 70 |en servi|ng an ap|
|00000c40| 70 6c 65 20 65 76 65 6e | 74 2c 20 6f 72 20 74 68 |ple even|t, or th|
|00000c50| 65 20 61 70 70 6c 65 20 | 65 76 65 6e 74 20 62 65 |e apple |event be|
|00000c60| 69 6e 67 20 73 65 72 76 | 65 64 0d 28 62 79 20 74 |ing serv|ed.(by t|
|00000c70| 68 65 20 64 65 66 69 6e | 65 5f 61 70 70 6c 65 5f |he defin|e_apple_|
|00000c80| 65 76 65 6e 74 20 68 6f | 6f 6b 29 20 73 70 65 63 |event ho|ok) spec|
|00000c90| 69 66 69 65 73 20 6e 6f | 74 20 74 6f 20 69 6e 74 |ifies no|t to int|
|00000ca0| 65 72 72 75 70 74 20 74 | 68 65 20 75 73 65 72 2c |errupt t|he user,|
|00000cb0| 20 74 68 65 6e 0d 74 68 | 65 20 61 70 70 6c 65 20 | then.th|e apple |
|00000cc0| 65 76 65 6e 74 20 68 6f | 6f 6b 20 69 73 20 72 75 |event ho|ok is ru|
|00000cd0| 6e 20 69 6e 73 69 64 65 | 20 6e 6f 5f 61 6c 6c 6f |n inside| no_allo|
|00000ce0| 77 5f 64 65 62 75 67 2e | 20 20 4f 74 68 65 72 77 |w_debug.| Otherw|
|00000cf0| 69 73 65 20 69 74 20 69 | 73 20 72 75 6e 20 69 6e |ise it i|s run in|
|00000d00| 73 69 64 65 0d 61 6c 6c | 6f 77 5f 64 65 62 75 67 |side.all|ow_debug|
|00000d10| 20 61 6e 64 20 66 75 6c | 6c 20 74 72 61 63 69 6e | and ful|l tracin|
|00000d20| 67 2c 20 62 72 65 61 6b | 20 70 6f 69 6e 74 73 2c |g, break| points,|
|00000d30| 20 69 6c 6c 65 67 61 6c | 20 61 72 67 75 6d 65 6e | illegal| argumen|
|00000d40| 74 73 2c 20 75 6e 64 65 | 66 69 6e 65 64 20 67 6f |ts, unde|fined go|
|00000d50| 61 6c 73 2c 0d 65 74 63 | 2e 20 61 72 65 20 61 76 |als,.etc|. are av|
|00000d60| 61 69 6c 61 62 6c 65 2e | 20 20 59 6f 75 20 63 61 |ailable.| You ca|
|00000d70| 6e 20 75 73 65 20 61 6c | 6c 6f 77 5f 64 65 62 75 |n use al|low_debu|
|00000d80| 67 20 61 6e 64 20 6e 6f | 5f 61 6c 6c 6f 77 5f 64 |g and no|_allow_d|
|00000d90| 65 62 75 67 20 74 6f 20 | 6f 76 65 72 72 69 64 65 |ebug to |override|
|00000da0| 0d 74 68 69 73 20 69 6e | 73 69 64 65 20 79 6f 75 |.this in|side you|
|00000db0| 72 20 61 70 70 6c 65 20 | 65 76 65 6e 74 20 68 6f |r apple |event ho|
|00000dc0| 6f 6b 20 63 6f 64 65 2e | 0d 0d a5 a5 a5 a5 a5 a5 |ok code.|........|
|00000dd0| a5 a5 a5 a5 a5 a5 a5 a5 | a5 a5 a5 a5 a5 a5 a5 a5 |........|........|
|00000de0| a5 a5 a5 a5 a5 a5 a5 a5 | a5 a5 a5 a5 a5 a5 a5 a5 |........|........|
|00000df0| a5 a5 a5 a5 a5 a5 a5 a5 | a5 a5 a5 a5 a5 a5 a5 a5 |........|........|
|00000e00| a5 a5 a5 a5 a5 0d 0d 4b | 65 79 57 6f 72 64 20 44 |.......K|eyWord D|
|00000e10| 65 73 63 72 69 70 74 6f | 72 20 4c 69 73 74 73 20 |escripto|r Lists |
|00000e20| 41 72 65 20 41 6c 73 6f | 20 53 75 70 70 6f 72 74 |Are Also| Support|
|00000e30| 65 64 2e 0d 0d 57 68 65 | 6e 20 79 6f 75 20 75 73 |ed...Whe|n you us|
|00000e40| 65 20 63 6f 6e 76 65 72 | 74 5f 61 65 64 65 73 63 |e conver|t_aedesc|
|00000e50| 20 74 6f 20 63 72 65 61 | 74 65 20 61 20 61 65 44 | to crea|te a aeD|
|00000e60| 65 73 63 4c 69 73 74 20 | 6f 62 6a 65 63 74 2c 20 |escList |object, |
|00000e70| 6f 72 20 61 72 65 20 0d | 73 70 65 63 69 66 79 69 |or are .|specifyi|
|00000e80| 6e 67 20 61 20 70 61 72 | 61 6d 65 74 65 72 20 28 |ng a par|ameter (|
|00000e90| 6f 72 20 61 74 74 72 69 | 62 75 74 65 29 20 66 6f |or attri|bute) fo|
|00000ea0| 72 20 73 65 6e 64 69 6e | 67 20 61 6e 20 61 70 70 |r sendin|g an app|
|00000eb0| 6c 65 20 65 76 65 6e 74 | 2c 20 79 6f 75 0d 63 61 |le event|, you.ca|
|00000ec0| 6e 20 61 6c 73 6f 20 73 | 70 65 63 69 66 79 20 61 |n also s|pecify a|
|00000ed0| 20 6c 69 73 74 20 6f 66 | 20 6b 65 79 77 6f 72 64 | list of| keyword|
|00000ee0| 65 64 20 6f 62 6a 65 63 | 74 73 2e 20 20 41 6c 6c |ed objec|ts. All|
|00000ef0| 20 6f 62 6a 65 63 74 73 | 20 69 6e 20 74 68 65 20 | objects| in the |
|00000f00| 6c 69 73 74 0d 6d 75 73 | 74 20 68 61 76 65 20 61 |list.mus|t have a|
|00000f10| 20 6b 65 79 77 6f 72 64 | 2e 20 20 54 68 65 20 70 | keyword|. The p|
|00000f20| 72 6f 6c 6f 67 20 73 79 | 73 74 65 6d 20 77 69 6c |rolog sy|stem wil|
|00000f30| 6c 20 63 72 65 61 74 65 | 20 74 68 65 20 61 70 70 |l create| the app|
|00000f40| 72 6f 70 72 69 61 74 65 | 0d 6b 65 79 77 6f 72 64 |ropriate|.keyword|
|00000f50| 20 69 6e 64 65 78 65 64 | 20 6c 69 73 74 20 28 49 | indexed| list (I|
|00000f60| 6e 74 65 72 6e 61 6c 20 | 41 45 44 65 73 63 20 44 |nternal |AEDesc D|
|00000f70| 65 73 63 72 69 70 74 6f | 72 20 54 79 70 65 20 60 |escripto|r Type `|
|00000f80| 72 65 63 6f 60 29 20 69 | 6e 73 74 65 61 64 0d 6f |reco`) i|nstead.o|
|00000f90| 66 20 74 68 65 20 73 74 | 61 6e 64 61 72 64 20 6c |f the st|andard l|
|00000fa0| 69 73 74 20 28 49 6e 74 | 65 72 6e 61 6c 20 41 45 |ist (Int|ernal AE|
|00000fb0| 44 65 73 63 20 44 65 73 | 63 72 69 70 74 6f 72 20 |Desc Des|criptor |
|00000fc0| 54 79 70 65 20 60 6c 69 | 73 74 60 29 2e 0d 0d 54 |Type `li|st`)...T|
|00000fd0| 68 65 20 66 6f 72 6d 61 | 74 20 66 6f 72 20 65 61 |he forma|t for ea|
|00000fe0| 63 68 20 65 6c 65 6d 65 | 6e 74 20 69 6e 20 74 68 |ch eleme|nt in th|
|00000ff0| 65 20 6c 69 73 74 20 69 | 73 20 4c 6f 6e 67 5f 4b |e list i|s Long_K|
|00001000| 65 79 77 6f 72 64 20 3d | 20 56 61 6c 75 65 2e 0d |eyword =| Value..|
|00001010| 4c 6f 6e 67 5f 4b 65 79 | 77 6f 72 64 20 73 68 6f |Long_Key|word sho|
|00001020| 75 6c 64 20 62 65 20 61 | 20 6c 6f 6e 67 20 6e 75 |uld be a| long nu|
|00001030| 6d 62 65 72 20 6f 72 20 | 61 20 66 6f 75 72 20 62 |mber or |a four b|
|00001040| 79 74 65 20 63 68 61 72 | 61 63 74 65 72 20 63 6f |yte char|acter co|
|00001050| 6e 73 74 61 6e 74 2e 0d | 57 68 65 6e 20 63 6f 6e |nstant..|When con|
|00001060| 76 65 72 74 65 64 20 62 | 61 63 6b 20 77 69 74 68 |verted b|ack with|
|00001070| 20 63 6f 6e 76 65 72 74 | 5f 61 65 64 65 73 63 0d | convert|_aedesc.|
|00001080| 66 72 6f 6d 20 61 65 20 | 61 65 44 65 73 63 4c 69 |from ae |aeDescLi|
|00001090| 73 74 20 6f 62 6a 65 63 | 74 2c 20 61 20 73 69 6d |st objec|t, a sim|
|000010a0| 69 6c 61 72 20 6c 69 73 | 74 20 77 69 6c 6c 20 62 |ilar lis|t will b|
|000010b0| 65 20 63 72 65 61 74 65 | 64 2e 0d 0d 45 78 61 6d |e create|d...Exam|
|000010c0| 70 6c 65 73 3a 0d 0d 3f | 2d 20 63 6f 6e 76 65 72 |ples:..?|- conver|
|000010d0| 74 5f 61 65 64 65 73 63 | 28 41 45 4b 65 79 4c 69 |t_aedesc|(AEKeyLi|
|000010e0| 73 74 2c 20 5b 60 6b 65 | 79 31 60 3d 31 32 33 2c |st, [`ke|y1`=123,|
|000010f0| 20 60 6b 65 79 32 60 20 | 3d 20 2d 32 2e 33 2c 20 | `key2` |= -2.3, |
|00001100| 60 6b 65 79 33 60 20 3d | 20 22 74 65 78 74 22 5d |`key3` =| "text"]|
|00001110| 29 2c 0d 20 20 20 63 6f | 6e 76 65 72 74 5f 61 65 |),. co|nvert_ae|
|00001120| 64 65 73 63 28 41 45 4b | 65 79 4c 69 73 74 2c 20 |desc(AEK|eyList, |
|00001130| 50 72 6f 6c 6f 67 4b 65 | 79 4c 69 73 74 29 2e 0d |PrologKe|yList)..|
|00001140| 20 20 20 20 41 45 4b 65 | 79 4c 69 73 74 20 3d 20 | AEKe|yList = |
|00001150| 3c 61 65 44 65 73 63 4c | 69 73 74 23 35 36 30 30 |<aeDescL|ist#5600|
|00001160| 32 30 30 3e 2c 0d 20 20 | 20 20 50 72 6f 6c 6f 67 |200>,. | Prolog|
|00001170| 4b 65 79 4c 69 73 74 20 | 3d 20 5b 31 38 30 31 38 |KeyList |= [18018|
|00001180| 31 32 32 37 33 20 3d 20 | 31 32 33 2c 20 31 38 30 |12273 = |123, 180|
|00001190| 31 38 31 32 32 37 34 20 | 3d 20 2d 32 2e 33 2c 20 |1812274 |= -2.3, |
|000011a0| 0d 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 |. | |
|000011b0| 20 20 20 20 20 20 31 38 | 30 31 38 31 32 32 37 35 | 18|01812275|
|000011c0| 20 3d 20 22 74 65 78 74 | 22 5d 20 0d 0d 31 38 30 | = "text|"] ..180|
|000011d0| 31 38 31 32 32 37 33 20 | 69 73 20 74 68 65 20 73 |1812273 |is the s|
|000011e0| 61 6d 65 20 76 61 6c 75 | 65 20 61 73 20 60 6b 65 |ame valu|e as `ke|
|000011f0| 79 31 60 2e 20 20 50 72 | 6f 6c 6f 67 20 6f 6e 6c |y1`. Pr|olog onl|
|00001200| 79 20 69 6e 74 65 72 6e | 61 6c 6c 79 20 6d 61 72 |y intern|ally mar|
|00001210| 6b 73 20 73 69 6e 67 6c | 65 0d 62 79 74 65 20 69 |ks singl|e.byte i|
|00001220| 6e 74 65 67 65 72 20 76 | 61 6c 75 65 73 20 61 73 |nteger v|alues as|
|00001230| 20 62 65 69 6e 67 20 63 | 68 61 72 61 63 74 65 72 | being c|haracter|
|00001240| 73 20 6f 72 20 69 6e 74 | 65 67 65 72 73 2e 20 20 |s or int|egers. |
|00001250| 41 6e 79 74 68 69 6e 67 | 20 6c 61 72 67 65 72 20 |Anything| larger |
|00001260| 69 73 20 6f 6e 6c 79 0d | 72 65 70 72 65 73 65 6e |is only.|represen|
|00001270| 74 65 64 20 61 73 20 69 | 6e 74 65 67 65 72 73 2e |ted as i|ntegers.|
|00001280| 20 20 55 73 65 20 70 75 | 74 5f 6c 6f 6e 67 28 31 | Use pu|t_long(1|
|00001290| 38 30 31 38 31 32 32 37 | 33 29 20 6f 72 20 0d 66 |80181227|3) or .f|
|000012a0| 6f 72 6d 61 74 28 22 25 | 34 63 22 2c 5b 31 38 30 |ormat("%|4c",[180|
|000012b0| 31 38 31 32 32 37 33 5d | 29 20 74 6f 20 6f 75 74 |1812273]|) to out|
|000012c0| 70 75 74 20 6b 65 79 31 | 2e 0d 0d 54 68 65 20 66 |put key1|...The f|
|000012d0| 6f 6c 6c 6f 77 69 6e 67 | 20 73 65 6e 64 73 20 61 |ollowing| sends a|
|000012e0| 20 70 75 74 20 76 61 6c | 75 65 20 65 76 65 6e 74 | put val|ue event|
|000012f0| 20 74 6f 20 43 6c 61 72 | 69 73 20 52 65 73 6f 6c | to Clar|is Resol|
|00001300| 76 65 2e 20 20 54 68 69 | 73 20 65 76 65 6e 74 0d |ve. Thi|s event.|
|00001310| 74 61 6b 65 73 20 6f 6e | 65 20 61 72 67 75 6d 65 |takes on|e argume|
|00001320| 6e 74 20 28 74 68 65 20 | 64 69 72 65 63 74 20 61 |nt (the |direct a|
|00001330| 72 67 75 6d 65 6e 74 20 | 60 2d 2d 2d 2d 60 29 20 |rgument |`----`) |
|00001340| 77 68 69 63 68 20 69 73 | 20 61 20 6c 69 73 74 20 |which is| a list |
|00001350| 6f 66 0d 6b 65 79 65 64 | 20 69 74 65 6d 73 2c 20 |of.keyed| items, |
|00001360| 74 68 65 20 74 6f 70 20 | 6c 65 66 74 20 70 6f 69 |the top |left poi|
|00001370| 6e 74 20 6f 72 20 74 68 | 65 20 72 61 6e 67 65 2c |nt or th|e range,|
|00001380| 20 74 68 65 20 62 6f 74 | 74 6f 6d 20 72 69 67 68 | the bot|tom righ|
|00001390| 74 20 70 6f 69 6e 74 0d | 6f 66 20 74 68 65 20 72 |t point.|of the r|
|000013a0| 61 6e 67 65 20 6f 66 20 | 63 65 6c 6c 73 20 62 65 |ange of |cells be|
|000013b0| 69 6e 67 20 73 65 74 2c | 20 61 6e 64 20 74 68 65 |ing set,| and the|
|000013c0| 20 76 61 6c 75 65 20 74 | 6f 20 73 65 74 20 69 6e | value t|o set in|
|000013d0| 20 74 68 65 73 65 20 63 | 65 6c 6c 73 2e 0d 54 68 | these c|ells..Th|
|000013e0| 65 20 66 6f 6c 6c 6f 77 | 69 6e 67 20 73 65 74 73 |e follow|ing sets|
|000013f0| 20 43 65 6c 6c 20 41 34 | 2e 20 20 41 20 69 73 20 | Cell A4|. A is |
|00001400| 43 6f 6c 75 6d 6e 20 30 | 2c 20 34 20 69 73 20 52 |Column 0|, 4 is R|
|00001410| 6f 77 20 33 2c 20 74 68 | 75 73 20 74 68 65 20 70 |ow 3, th|us the p|
|00001420| 6f 69 6e 74 0d 5b 33 2c | 30 5d 20 6f 72 20 74 68 |oint.[3,|0] or th|
|00001430| 65 20 76 61 6c 75 65 20 | 31 36 27 30 30 30 33 30 |e value |16'00030|
|00001440| 30 30 30 20 66 6f 72 20 | 74 68 65 20 63 65 6c 6c |000 for |the cell|
|00001450| 2e 0d 54 68 65 20 76 61 | 6c 75 65 20 74 6f 20 62 |..The va|lue to b|
|00001460| 65 20 73 65 74 20 6d 75 | 73 74 20 62 65 20 73 65 |e set mu|st be se|
|00001470| 6e 74 20 61 73 20 61 20 | 73 74 72 69 6e 67 2e 0d |nt as a |string..|
|00001480| 0d 3f 2d 20 66 69 6e 64 | 5f 72 65 73 6f 6c 76 65 |.?- find|_resolve|
|00001490| 5f 70 72 6f 63 65 73 73 | 28 52 65 73 6f 6c 76 65 |_process|(Resolve|
|000014a0| 50 72 6f 63 65 73 73 29 | 2c 0d 20 20 20 73 65 6e |Process)|,. sen|
|000014b0| 64 5f 61 70 70 6c 65 5f | 65 76 65 6e 74 28 52 65 |d_apple_|event(Re|
|000014c0| 73 6f 6c 76 65 50 72 6f | 63 65 73 73 2c 0d 20 20 |solvePro|cess,. |
|000014d0| 20 09 60 43 4c 52 53 60 | 2c 20 60 50 56 41 4c 60 | .`CLRS`|, `PVAL`|
|000014e0| 2c 0d 09 5b 5d 2c 0d 09 | 5b 60 2d 2d 2d 2d 60 20 |,..[],..|[`----` |
|000014f0| 3d 20 5b 60 54 41 42 4c | 60 20 3d 20 09 5b 60 54 |= [`TABL|` = .[`T|
|00001500| 4c 50 54 60 20 3d 20 31 | 36 27 30 30 30 33 30 30 |LPT` = 1|6'000300|
|00001510| 30 30 2c 0d 09 09 09 09 | 20 60 42 52 50 54 60 20 |00,.....| `BRPT` |
|00001520| 3d 20 31 36 27 30 30 30 | 33 30 30 30 30 2c 0d 09 |= 16'000|30000,..|
|00001530| 09 09 09 20 60 56 41 4c | 20 60 20 3d 20 22 52 6f |... `VAL| ` = "Ro|
|00001540| 77 20 34 20 54 69 74 6c | 65 22 5d 5d 5d 2c 0d 09 |w 4 Titl|e"]]],..|
|00001550| 5b 77 61 69 74 5f 72 65 | 70 6c 79 5d 2c 0d 09 28 |[wait_re|ply],..(|
|00001560| 20 72 65 70 6c 79 5f 76 | 61 6c 75 65 20 3d 3a 3d | reply_v|alue =:=|
|00001570| 20 30 20 2d 3e 20 77 72 | 69 74 65 28 22 50 75 74 | 0 -> wr|ite("Put|
|00001580| 20 56 61 6c 75 65 20 53 | 75 63 63 65 73 73 66 75 | Value S|uccessfu|
|00001590| 6c 21 5c 6e 22 29 0d 09 | 3b 20 66 6f 72 6d 61 74 |l!\n")..|; format|
|000015a0| 28 22 45 72 72 6f 72 20 | 69 6e 20 70 75 74 74 69 |("Error |in putti|
|000015b0| 6e 67 20 76 61 6c 75 65 | 3a 20 25 64 5c 6e 22 2c |ng value|: %d\n",|
|000015c0| 5b 72 65 70 6c 79 5f 76 | 61 6c 75 65 5d 29 29 2c |[reply_v|alue])),|
|000015d0| 0d 09 52 65 73 75 6c 74 | 29 2e 0d 0d a5 a5 a5 a5 |..Result|).......|
|000015e0| a5 a5 a5 a5 a5 a5 a5 a5 | a5 a5 a5 a5 a5 a5 a5 a5 |........|........|
|000015f0| a5 a5 a5 a5 a5 a5 a5 a5 | a5 a5 a5 a5 a5 a5 a5 a5 |........|........|
|00001600| a5 a5 a5 a5 a5 a5 a5 a5 | a5 a5 a5 a5 a5 a5 a5 a5 |........|........|
|00001610| a5 a5 a5 a5 a5 a5 a5 09 | 0d 0d 52 65 70 6c 79 20 |........|..Reply |
|00001620| 48 6f 6f 6b 73 20 61 6e | 64 20 74 68 65 20 53 70 |Hooks an|d the Sp|
|00001630| 65 63 69 61 6c 20 53 79 | 6d 62 6f 6c 73 3a 20 76 |ecial Sy|mbols: v|
|00001640| 61 6c 75 65 20 61 6e 64 | 20 72 65 70 6c 79 5f 76 |alue and| reply_v|
|00001650| 61 6c 75 65 0d 0d 49 6e | 20 72 65 70 6c 79 20 68 |alue..In| reply h|
|00001660| 6f 6f 6b 73 2c 20 76 61 | 6c 75 65 20 72 65 66 65 |ooks, va|lue refe|
|00001670| 72 73 20 74 6f 20 70 61 | 72 61 6d 28 60 2d 2d 2d |rs to pa|ram(`---|
|00001680| 2d 60 29 2c 20 74 68 65 | 20 64 69 72 65 63 74 20 |-`), the| direct |
|00001690| 6f 62 6a 65 63 74 2e 20 | 20 0d 72 65 70 6c 79 5f |object. | .reply_|
|000016a0| 76 61 6c 75 65 20 72 65 | 66 65 72 73 20 74 6f 20 |value re|fers to |
|000016b0| 74 68 65 20 65 72 72 6f | 72 20 6e 75 6d 62 65 72 |the erro|r number|
|000016c0| 20 28 69 66 20 61 6e 79 | 29 20 74 68 61 74 20 77 | (if any|) that w|
|000016d0| 61 73 20 72 65 74 75 72 | 6e 65 64 0d 62 79 20 74 |as retur|ned.by t|
|000016e0| 68 65 20 61 70 70 6c 65 | 20 65 76 65 6e 74 2e 20 |he apple| event. |
|000016f0| 20 0d 0d 49 6e 20 79 6f | 75 72 20 61 70 70 6c 65 | ..In yo|ur apple|
|00001700| 20 65 76 65 6e 74 20 68 | 6f 6f 6b 73 2c 20 66 6f | event h|ooks, fo|
|00001710| 72 20 61 20 76 61 72 69 | 61 62 6c 65 20 74 6f 20 |r a vari|able to |
|00001720| 68 61 76 65 20 0d 66 6f | 72 20 73 65 74 74 69 6e |have .fo|r settin|
|00001730| 67 20 74 68 65 20 64 69 | 72 65 63 74 20 6f 62 6a |g the di|rect obj|
|00001740| 65 63 74 20 6f 66 20 74 | 68 65 20 72 65 70 6c 79 |ect of t|he reply|
|00001750| 20 72 65 63 6f 72 64 2c | 20 0d 75 73 65 20 72 65 | record,| .use re|
|00001760| 70 6c 79 5f 70 61 72 61 | 6d 28 60 2d 2d 2d 2d 60 |ply_para|m(`----`|
|00001770| 29 2e 20 20 0d 46 6f 72 | 20 61 20 76 61 72 69 61 |). .For| a varia|
|00001780| 62 6c 65 20 74 6f 20 68 | 61 76 65 20 66 6f 72 20 |ble to h|ave for |
|00001790| 73 65 74 74 69 6e 67 20 | 74 68 65 20 65 72 72 6f |setting |the erro|
|000017a0| 72 20 6e 75 6d 62 65 72 | 2c 20 0d 75 73 65 20 72 |r number|, .use r|
|000017b0| 65 70 6c 79 5f 76 61 6c | 75 65 2e 0d 0d a5 a5 a5 |eply_val|ue......|
|000017c0| a5 a5 a5 a5 a5 a5 a5 a5 | a5 a5 a5 a5 a5 a5 a5 a5 |........|........|
|000017d0| a5 a5 a5 a5 a5 a5 a5 a5 | a5 a5 a5 a5 a5 a5 a5 a5 |........|........|
|000017e0| a5 a5 a5 a5 a5 a5 a5 a5 | a5 a5 a5 a5 a5 a5 a5 a5 |........|........|
|000017f0| a5 a5 a5 a5 a5 a5 a5 a5 | 09 0d 0d 41 64 64 69 74 |........|...Addit|
|00001800| 69 6f 6e 61 6c 20 4c 61 | 75 6e 63 68 20 46 75 6e |ional La|unch Fun|
|00001810| 63 74 69 6f 6e 0d 0d 54 | 68 65 20 64 6f 63 75 6d |ction..T|he docum|
|00001820| 65 6e 74 65 64 20 6c 61 | 75 6e 63 68 20 66 75 6e |ented la|unch fun|
|00001830| 63 74 69 6f 6e 20 6f 6e | 6c 79 20 6c 65 74 73 20 |ction on|ly lets |
|00001840| 79 6f 75 20 6c 61 75 6e | 63 68 20 74 68 65 20 6f |you laun|ch the o|
|00001850| 74 68 65 72 20 0d 61 70 | 70 6c 69 63 61 74 69 6f |ther .ap|plicatio|
|00001860| 6e 20 61 6e 64 20 73 77 | 69 74 63 68 20 69 74 20 |n and sw|itch it |
|00001870| 74 6f 20 74 68 65 20 66 | 6f 72 65 67 72 6f 75 6e |to the f|oregroun|
|00001880| 64 2e 20 20 0d 54 68 65 | 20 66 6f 6c 6c 6f 77 69 |d. .The| followi|
|00001890| 6e 67 20 74 61 6b 65 73 | 20 61 20 6f 70 74 69 6f |ng takes| a optio|
|000018a0| 6e 73 20 6c 69 73 74 20 | 77 68 69 63 68 20 64 65 |ns list |which de|
|000018b0| 74 65 72 6d 69 6e 65 20 | 74 68 65 20 6c 61 75 6e |termine |the laun|
|000018c0| 63 68 20 66 6c 61 67 73 | 2e 0d 0d 6c 61 75 6e 63 |ch flags|...launc|
|000018d0| 68 28 41 70 70 6c 69 63 | 61 74 69 6f 6e 46 69 6c |h(Applic|ationFil|
|000018e0| 65 4e 61 6d 65 2c 20 46 | 69 6c 65 41 72 67 4c 69 |eName, F|ileArgLi|
|000018f0| 73 74 2c 20 4f 70 74 69 | 6f 6e 4c 69 73 74 2c 20 |st, Opti|onList, |
|00001900| 52 65 73 75 6c 74 29 0d | 0d 4f 70 74 69 6f 6e 4c |Result).|.OptionL|
|00001910| 69 73 74 20 6d 61 79 20 | 62 65 20 61 20 6c 69 73 |ist may |be a lis|
|00001920| 74 20 63 6f 6e 74 61 69 | 6e 69 6e 67 20 7a 65 72 |t contai|ning zer|
|00001930| 6f 20 6f 72 20 6d 6f 72 | 65 20 6f 66 20 74 68 65 |o or mor|e of the|
|00001940| 20 66 6f 6c 6c 6f 77 69 | 6e 67 3a 0d 49 4d 50 4f | followi|ng:.IMPO|
|00001950| 52 54 41 4e 54 20 4e 4f | 54 45 3a 20 43 41 53 45 |RTANT NO|TE: CASE|
|00001960| 20 49 53 20 49 4d 50 4f | 52 54 41 4e 54 2e 0d 0d | IS IMPO|RTANT...|
|00001970| 63 6f 6e 74 69 6e 75 65 | 09 09 0d 09 50 72 6f 6c |continue|....Prol|
|00001980| 6f 67 20 77 69 6c 6c 20 | 63 6f 6e 74 69 6e 75 65 |og will |continue|
|00001990| 20 61 66 74 65 72 20 6c | 61 75 6e 63 68 20 63 61 | after l|aunch ca|
|000019a0| 6c 6c 20 28 64 65 66 61 | 75 6c 74 29 2e 0d 6e 6f |ll (defa|ult)..no|
|000019b0| 74 28 63 6f 6e 74 69 6e | 75 65 29 09 09 0d 09 50 |t(contin|ue)....P|
|000019c0| 72 6f 6c 6f 67 20 77 69 | 6c 6c 20 65 78 69 74 20 |rolog wi|ll exit |
|000019d0| 61 66 74 65 72 20 6c 61 | 75 6e 63 68 20 65 76 65 |after la|unch eve|
|000019e0| 6e 20 69 66 20 6c 61 75 | 6e 63 68 20 66 61 69 6c |n if lau|nch fail|
|000019f0| 73 2e 0d 75 73 65 4d 69 | 6e 69 6d 75 6d 09 09 0d |s..useMi|nimum...|
|00001a00| 09 55 73 65 20 74 68 65 | 20 6d 69 6e 69 6d 75 6d |.Use the| minimum|
|00001a10| 20 6d 65 6d 6f 72 79 20 | 66 6f 72 20 74 68 65 20 | memory |for the |
|00001a20| 61 70 70 6c 69 63 61 74 | 69 6f 6e 20 62 65 69 6e |applicat|ion bein|
|00001a30| 67 20 6c 61 75 6e 63 68 | 65 64 2e 0d 6e 6f 74 28 |g launch|ed..not(|
|00001a40| 75 73 65 4d 69 6e 69 6d | 75 6d 29 09 09 0d 09 55 |useMinim|um)....U|
|00001a50| 73 65 20 74 68 65 20 6e | 6f 72 6d 61 6c 20 61 6d |se the n|ormal am|
|00001a60| 6f 75 6e 74 20 28 64 65 | 66 61 75 6c 74 29 2e 0d |ount (de|fault)..|
|00001a70| 64 6f 6e 74 53 77 69 74 | 63 68 09 09 0d 09 44 6f |dontSwit|ch....Do|
|00001a80| 6e 27 74 20 73 77 69 74 | 63 68 20 63 6f 6e 74 72 |n't swit|ch contr|
|00001a90| 6f 6c 20 74 6f 20 74 68 | 65 20 6f 74 68 65 72 20 |ol to th|e other |
|00001aa0| 61 70 70 6c 69 63 61 74 | 69 6f 6e 0d 6e 6f 74 28 |applicat|ion.not(|
|00001ab0| 64 6f 6e 74 53 77 69 74 | 63 68 29 09 09 0d 09 53 |dontSwit|ch)....S|
|00001ac0| 77 69 74 63 68 20 63 6f | 6e 74 72 6f 6c 20 74 6f |witch co|ntrol to|
|00001ad0| 20 74 68 65 20 6f 74 68 | 65 72 20 61 70 70 6c 69 | the oth|er appli|
|00001ae0| 63 61 74 69 6f 6e 20 28 | 64 65 66 61 75 6c 74 29 |cation (|default)|
|00001af0| 2e 0d 69 6e 68 69 62 69 | 74 44 61 65 6d 6f 6e 09 |..inhibi|tDaemon.|
|00001b00| 09 0d 09 53 65 74 20 69 | 66 20 79 6f 75 20 64 6f |...Set i|f you do|
|00001b10| 6e 27 74 20 77 61 6e 74 | 20 74 6f 20 6c 61 75 6e |n't want| to laun|
|00001b20| 63 68 20 62 61 63 6b 67 | 72 6f 75 6e 64 20 6f 6e |ch backg|round on|
|00001b30| 6c 79 20 61 70 70 6c 69 | 63 61 74 69 6f 6e 73 2e |ly appli|cations.|
|00001b40| 0d 6e 6f 74 28 69 6e 68 | 69 62 69 74 44 61 65 6d |.not(inh|ibitDaem|
|00001b50| 6f 6e 29 09 0d 09 41 6c | 6c 6f 77 20 62 61 63 6b |on)...Al|low back|
|00001b60| 67 72 6f 75 6e 64 20 6f | 6e 6c 79 20 61 70 70 6c |ground o|nly appl|
|00001b70| 69 63 61 74 69 6f 6e 73 | 20 28 64 65 66 61 75 6c |ications| (defaul|
|00001b80| 74 29 2e 0d 0d 53 6f 20 | 74 6f 20 6c 61 75 6e 63 |t)...So |to launc|
|00001b90| 68 20 61 6e 6f 74 68 65 | 72 20 61 70 70 6c 69 63 |h anothe|r applic|
|00001ba0| 61 74 69 6f 6e 20 69 6e | 20 62 61 63 6b 67 72 6f |ation in| backgro|
|00001bb0| 75 6e 64 20 64 6f 3a 0d | 0d 3a 2d 20 6c 61 75 6e |und do:.|.:- laun|
|00001bc0| 63 68 28 22 41 70 70 6c | 69 63 61 74 69 6f 6e 20 |ch("Appl|ication |
|00001bd0| 46 69 6c 65 20 4e 61 6d | 65 22 2c 20 5b 22 4f 70 |File Nam|e", ["Op|
|00001be0| 65 6e 20 54 68 69 73 20 | 46 69 6c 65 22 5d 2c 20 |en This |File"], |
|00001bf0| 0d 09 5b 64 6f 6e 74 53 | 77 69 74 63 68 5d 2c 20 |..[dontS|witch], |
|00001c00| 52 65 73 75 6c 74 29 2e | 0d 0d 41 20 72 65 73 75 |Result).|..A resu|
|00001c10| 6c 74 20 6f 66 20 30 20 | 6d 65 61 6e 73 20 74 68 |lt of 0 |means th|
|00001c20| 65 20 6c 61 75 6e 63 68 | 20 77 61 73 20 73 75 63 |e launch| was suc|
|00001c30| 63 65 73 73 66 75 6c 2e | 20 20 4f 74 68 65 72 20 |cessful.| Other |
|00001c40| 65 72 72 6f 72 20 76 61 | 6c 75 65 73 20 61 72 65 |error va|lues are|
|00001c50| 20 0d 74 68 6f 73 65 20 | 72 65 74 75 72 6e 65 64 | .those |returned|
|00001c60| 20 62 79 20 74 68 65 20 | 69 6e 74 65 72 6e 61 6c | by the |internal|
|00001c70| 20 52 4f 4d 20 74 72 61 | 70 73 20 61 6e 64 20 61 | ROM tra|ps and a|
|00001c80| 72 65 20 64 6f 63 75 6d | 65 6e 74 65 64 20 69 6e |re docum|ented in|
|00001c90| 20 49 6e 73 69 64 65 0d | 4d 61 63 69 6e 74 6f 73 | Inside.|Macintos|
|00001ca0| 68 20 56 6f 6c 75 6d 65 | 20 56 49 2c 20 43 68 61 |h Volume| VI, Cha|
|00001cb0| 70 74 65 72 20 32 39 2c | 20 50 72 6f 63 65 73 73 |pter 29,| Process|
|00001cc0| 20 4d 61 6e 61 67 65 72 | 2e 0d 0d 54 68 65 20 73 | Manager|...The s|
|00001cd0| 6f 75 72 63 65 20 64 65 | 66 69 6e 69 6e 67 20 6c |ource de|fining l|
|00001ce0| 61 75 6e 63 68 2f 33 20 | 61 6e 64 20 6c 61 75 6e |aunch/3 |and laun|
|00001cf0| 63 68 2f 34 20 69 73 20 | 70 72 6f 76 69 64 65 64 |ch/4 is |provided|
|00001d00| 20 69 6e 20 0d 74 68 65 | 20 66 69 6c 65 20 22 3a | in .the| file ":|
|00001d10| 3a 3a 45 6e 76 69 72 6f | 6e 6d 65 6e 74 3a 70 72 |::Enviro|nment:pr|
|00001d20| 6f 63 65 73 73 65 73 2e | 70 22 20 20 0d 49 66 20 |ocesses.|p" .If |
|00001d30| 79 6f 75 20 69 6e 73 74 | 61 6c 6c 65 64 20 74 68 |you inst|alled th|
|00001d40| 65 20 45 6e 76 69 72 6f | 6e 6d 65 6e 74 20 66 6f |e Enviro|nment fo|
|00001d50| 6c 64 65 72 20 69 6e 20 | 74 68 65 20 73 61 6d 65 |lder in |the same|
|00001d60| 20 66 6f 6c 64 65 72 20 | 74 68 61 74 20 63 6f 6e | folder |that con|
|00001d70| 74 61 69 6e 73 20 0d 74 | 68 65 20 50 72 6f 6c 6f |tains .t|he Prolo|
|00001d80| 67 20 61 70 70 6c 69 63 | 61 74 69 6f 6e 2c 20 79 |g applic|ation, y|
|00001d90| 6f 75 20 63 61 6e 20 75 | 73 65 20 74 68 65 20 46 |ou can u|se the F|
|00001da0| 69 6e 64 20 44 65 66 69 | 6e 69 74 69 6f 6e 20 63 |ind Defi|nition c|
|00001db0| 6f 6d 6d 61 6e 64 0d 69 | 6e 20 74 68 65 20 73 65 |ommand.i|n the se|
|00001dc0| 61 72 63 68 20 6d 65 6e | 75 20 74 6f 20 66 69 6e |arch men|u to fin|
|00001dd0| 64 20 74 68 65 20 73 6f | 75 72 63 65 20 66 6f 72 |d the so|urce for|
|00001de0| 20 6c 61 75 6e 63 68 2f | 33 20 61 6e 64 20 6c 61 | launch/|3 and la|
|00001df0| 75 6e 63 68 2f 34 2e 0d | 0d 54 68 65 20 6f 70 74 |unch/4..|.The opt|
|00001e00| 69 6f 6e 20 6e 6f 66 69 | 6c 65 66 6c 61 67 73 20 |ion nofi|leflags |
|00001e10| 69 73 20 6e 6f 74 20 70 | 72 6f 76 69 64 65 64 20 |is not p|rovided |
|00001e20| 62 65 63 61 75 73 65 20 | 79 6f 75 20 77 6f 75 6c |because |you woul|
|00001e30| 64 20 6e 65 65 64 20 74 | 6f 0d 73 70 65 63 69 66 |d need t|o.specif|
|00001e40| 79 20 61 6e 6f 74 68 65 | 72 20 61 72 67 75 6d 65 |y anothe|r argume|
|00001e50| 6e 74 20 69 66 20 79 6f | 75 20 75 6e 73 65 74 20 |nt if yo|u unset |
|00001e60| 74 68 69 73 2c 20 61 6e | 64 20 63 75 72 72 65 6e |this, an|d curren|
|00001e70| 74 6c 79 0d 6c 61 75 6e | 63 68 20 64 6f 65 73 20 |tly.laun|ch does |
|00001e80| 6e 6f 74 20 74 61 6b 65 | 20 74 68 69 73 20 6f 74 |not take| this ot|
|00001e90| 68 65 72 20 61 72 67 75 | 6d 65 6e 74 2e 20 20 0d |her argu|ment. .|
|00001ea0| 59 6f 75 20 63 61 6e 20 | 6d 6f 64 69 66 79 20 6c |You can |modify l|
|00001eb0| 61 75 6e 63 68 20 61 6e | 64 20 64 65 66 69 6e 65 |aunch an|d define|
|00001ec0| 20 79 6f 75 72 20 6f 77 | 6e 20 76 65 72 73 69 6f | your ow|n versio|
|00001ed0| 6e 20 69 66 20 79 6f 75 | 20 0d 64 65 73 69 72 65 |n if you| .desire|
|00001ee0| 20 74 68 69 73 20 6f 72 | 20 6f 74 68 65 72 20 6f | this or| other o|
|00001ef0| 70 74 69 6f 6e 73 20 6e | 6f 74 20 79 65 74 20 73 |ptions n|ot yet s|
|00001f00| 75 70 70 6f 72 74 65 64 | 2e 0d 0d a5 a5 a5 a5 a5 |upported|........|
|00001f10| a5 a5 a5 a5 a5 a5 a5 a5 | a5 a5 a5 a5 a5 a5 a5 a5 |........|........|
|00001f20| a5 a5 a5 a5 a5 a5 a5 a5 | a5 a5 a5 a5 a5 a5 a5 a5 |........|........|
|00001f30| a5 a5 a5 a5 a5 a5 a5 a5 | a5 a5 a5 a5 a5 a5 a5 a5 |........|........|
|00001f40| a5 a5 a5 a5 a5 a5 a5 a5 | a5 a5 a5 a5 a5 a5 a5 a5 |........|........|
|00001f50| a5 a5 a5 a5 a5 a5 0d 0d | 4c 61 75 6e 63 68 69 6e |........|Launchin|
|00001f60| 67 20 41 6c 72 65 61 64 | 79 20 52 75 6e 6e 69 6e |g Alread|y Runnin|
|00001f70| 67 20 41 70 70 6c 69 63 | 61 74 69 6f 6e 73 2e 0d |g Applic|ations..|
|00001f80| 0d 4c 61 75 6e 63 68 2f | 33 20 77 69 6c 6c 20 62 |.Launch/|3 will b|
|00001f90| 72 69 6e 67 20 61 6e 20 | 65 78 69 73 74 69 6e 67 |ring an |existing|
|00001fa0| 20 61 70 70 6c 69 63 61 | 74 69 6f 6e 20 74 6f 20 | applica|tion to |
|00001fb0| 74 68 65 20 66 6f 72 65 | 67 72 6f 75 6e 64 20 69 |the fore|ground i|
|00001fc0| 66 20 63 61 6c 6c 65 64 | 20 6f 6e 0d 61 20 70 72 |f called| on.a pr|
|00001fd0| 6f 63 65 73 73 20 66 69 | 6c 65 20 61 70 70 6c 69 |ocess fi|le appli|
|00001fe0| 63 61 74 69 6f 6e 20 61 | 6c 72 65 61 64 79 20 72 |cation a|lready r|
|00001ff0| 75 6e 6e 69 6e 67 2e 20 | 20 49 6e 20 74 68 69 73 |unning. | In this|
|00002000| 20 63 61 73 65 2c 20 74 | 68 65 20 66 69 6c 65 20 | case, t|he file |
|00002010| 6c 69 73 74 0d 61 72 67 | 75 6d 65 6e 74 20 69 73 |list.arg|ument is|
|00002020| 20 69 67 6e 6f 72 65 64 | 2e 20 20 59 6f 75 20 63 | ignored|. You c|
|00002030| 61 6e 20 75 73 65 20 74 | 68 69 73 20 74 6f 20 62 |an use t|his to b|
|00002040| 72 69 6e 67 20 61 20 72 | 75 6e 6e 69 6e 67 20 70 |ring a r|unning p|
|00002050| 72 6f 63 65 73 73 20 74 | 6f 20 74 68 65 20 0d 66 |rocess t|o the .f|
|00002060| 6f 72 65 67 72 6f 75 6e | 64 2e 0d 0d a5 a5 a5 a5 |oregroun|d.......|
|00002070| a5 a5 a5 a5 a5 a5 a5 a5 | a5 a5 a5 a5 a5 a5 a5 a5 |........|........|
|00002080| a5 a5 a5 a5 a5 a5 a5 a5 | a5 a5 a5 a5 a5 a5 a5 a5 |........|........|
|00002090| a5 a5 a5 a5 a5 a5 a5 a5 | a5 a5 a5 a5 a5 a5 a5 a5 |........|........|
|000020a0| a5 a5 a5 a5 a5 a5 a5 a5 | a5 a5 a5 a5 a5 a5 a5 a5 |........|........|
|000020b0| a5 a5 a5 a5 a5 a5 a5 0d | 0d 52 65 70 6c 79 20 48 |........|.Reply H|
|000020c0| 6f 6f 6b 20 56 61 72 69 | 61 62 6c 65 73 20 41 72 |ook Vari|ables Ar|
|000020d0| 65 20 4c 6f 63 61 6c 20 | 54 6f 20 54 68 65 20 52 |e Local |To The R|
|000020e0| 65 70 6c 79 20 48 6f 6f | 6b 20 4f 6e 6c 79 0d 0d |eply Hoo|k Only..|
|000020f0| 52 65 70 6c 79 20 76 61 | 6c 75 65 73 20 61 72 65 |Reply va|lues are|
|00002100| 20 6e 6f 74 20 72 65 74 | 75 72 6e 65 64 20 62 79 | not ret|urned by|
|00002110| 20 74 68 65 20 72 65 70 | 6c 79 20 68 6f 6f 6b 20 | the rep|ly hook |
|00002120| 74 6f 20 74 68 65 20 70 | 72 6f 6c 6f 67 20 63 6f |to the p|rolog co|
|00002130| 64 65 20 74 68 61 74 0d | 63 61 6c 6c 65 64 20 73 |de that.|called s|
|00002140| 65 6e 64 5f 61 70 70 6c | 65 5f 65 76 65 6e 74 2e |end_appl|e_event.|
|00002150| 0d 0d 54 68 65 20 72 65 | 70 6c 79 20 68 6f 6f 6b |..The re|ply hook|
|00002160| 20 69 73 20 72 75 6e 20 | 69 6e 73 69 64 65 20 69 | is run |inside i|
|00002170| 74 73 20 6f 77 6e 20 77 | 6f 72 6c 64 2e 20 20 56 |ts own w|orld. V|
|00002180| 61 6c 75 65 73 20 6f 66 | 20 76 61 72 69 61 62 6c |alues of| variabl|
|00002190| 65 73 20 73 65 74 0d 64 | 75 72 69 6e 67 20 74 68 |es set.d|uring th|
|000021a0| 65 20 72 75 6e 6e 69 6e | 67 20 6f 66 20 74 68 69 |e runnin|g of thi|
|000021b0| 73 20 72 65 70 6c 79 20 | 68 6f 6f 6b 20 77 69 6c |s reply |hook wil|
|000021c0| 6c 20 6e 6f 74 20 62 65 | 20 72 65 74 75 72 6e 65 |l not be| returne|
|000021d0| 64 20 62 79 20 74 68 65 | 0d 73 65 6e 64 5f 61 70 |d by the|.send_ap|
|000021e0| 70 6c 65 5f 65 76 65 6e | 74 20 63 61 6c 6c 2e 20 |ple_even|t call. |
|000021f0| 20 54 68 75 73 20 74 6f | 20 72 65 74 75 72 6e 20 | Thus to| return |
|00002200| 69 6e 66 6f 72 6d 61 74 | 69 6f 6e 20 6f 75 74 20 |informat|ion out |
|00002210| 6f 66 20 74 68 65 20 72 | 65 70 6c 79 0d 68 6f 6f |of the r|eply.hoo|
|00002220| 6b 2c 20 79 6f 75 20 6e | 65 65 64 20 74 6f 20 65 |k, you n|eed to e|
|00002230| 69 74 68 65 72 20 73 65 | 74 20 61 20 67 6c 6f 62 |ither se|t a glob|
|00002240| 61 6c 20 76 61 72 69 61 | 62 6c 65 20 6f 72 20 61 |al varia|ble or a|
|00002250| 73 73 65 72 74 20 61 20 | 66 61 63 74 2e 0d 41 66 |ssert a |fact..Af|
|00002260| 74 65 72 20 63 61 6c 6c | 69 6e 67 20 73 65 6e 64 |ter call|ing send|
|00002270| 5f 61 70 70 6c 65 5f 65 | 76 65 6e 74 2c 20 6c 6f |_apple_e|vent, lo|
|00002280| 6f 6b 20 66 6f 72 20 74 | 68 65 20 67 6c 6f 62 61 |ok for t|he globa|
|00002290| 6c 20 76 61 72 69 61 62 | 6c 65 27 73 20 76 61 6c |l variab|le's val|
|000022a0| 75 65 20 6f 72 0d 66 6f | 72 20 74 68 65 20 61 73 |ue or.fo|r the as|
|000022b0| 73 65 72 74 65 64 20 66 | 61 63 74 2e 0d 0d 53 65 |serted f|act...Se|
|000022c0| 65 20 74 68 65 20 65 78 | 61 6d 70 6c 65 20 66 6f |e the ex|ample fo|
|000022d0| 72 20 67 65 74 5f 72 65 | 73 6f 6c 76 65 5f 76 61 |r get_re|solve_va|
|000022e0| 6c 75 65 73 20 69 6e 20 | 22 54 61 6c 6b 20 77 69 |lues in |"Talk wi|
|000022f0| 74 68 20 52 65 73 6f 6c | 76 65 2e 70 22 20 66 6f |th Resol|ve.p" fo|
|00002300| 72 20 61 20 0d 6d 65 74 | 68 6f 64 20 6f 66 20 72 |r a .met|hod of r|
|00002310| 65 74 75 72 6e 69 6e 67 | 20 74 68 65 20 64 61 74 |eturning| the dat|
|00002320| 61 20 66 72 6f 6d 20 61 | 20 72 65 70 6c 79 20 61 |a from a| reply a|
|00002330| 70 70 6c 65 20 65 76 65 | 6e 74 2e 0d 0d 2a 2f 0d |pple eve|nt...*/.|
|00002340| 3a 2d 20 66 69 6c 65 20 | 27 41 70 70 6c 65 20 45 |:- file |'Apple E|
|00002350| 76 65 6e 74 20 4e 6f 74 | 65 73 27 2c 20 6c 69 6e |vent Not|es', lin|
|00002360| 65 20 31 2e 0d 00 00 00 | 00 00 00 00 00 00 00 00 |e 1.....|........|
|00002370| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002380| 00 00 01 00 00 00 01 90 | 00 00 00 90 00 00 00 7a |........|.......z|
|00002390| 65 64 0d 28 62 79 20 74 | 68 65 20 64 65 66 69 6e |ed.(by t|he defin|
|000023a0| 65 5f 61 70 70 6c 65 5f | 65 76 65 6e 74 20 68 6f |e_apple_|event ho|
|000023b0| 11 41 70 70 6c 65 20 45 | 76 65 6e 74 20 4e 6f 74 |.Apple E|vent Not|
|000023c0| 65 73 02 00 00 00 54 45 | 58 54 41 49 46 43 01 00 |es....TE|XTAIFC..|
|000023d0| 00 00 54 45 58 54 41 49 | 46 43 01 00 00 00 00 00 |..TEXTAI|FC......|
|000023e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000023f0| 00 00 a5 ba 90 1e 00 00 | 22 e5 00 00 02 0a 64 65 |........|".....de|
|00002400| 20 6e 6f 5f 61 6c 6c 6f | 77 5f 64 65 62 75 67 2e | no_allo|w_debug.|
|00002410| 20 20 4f 74 68 65 72 77 | 69 73 65 20 69 74 20 69 | Otherw|ise it i|
|00002420| 73 20 72 75 6e 20 69 6e | 73 69 64 65 0d 61 6c 6c |s run in|side.all|
|00002430| 6f 77 5f 64 65 62 75 67 | 20 61 6e 64 20 66 75 6c |ow_debug| and ful|
|00002440| 6c 20 74 72 61 63 69 6e | 67 2c 20 62 72 65 61 6b |l tracin|g, break|
|00002450| 20 70 6f 69 6e 74 73 2c | 20 69 6c 6c 65 67 61 6c | points,| illegal|
|00002460| 20 61 72 67 75 6d 65 6e | 74 73 2c 20 75 6e 64 65 | argumen|ts, unde|
|00002470| 66 69 6e 65 64 20 67 6f | 61 6c 73 2c 0d 65 74 63 |fined go|als,.etc|
|00002480| 00 00 00 48 00 09 4d 6f | 6e 61 63 6f 00 0b 50 a0 |...H..Mo|naco..P.|
|00002490| 00 00 00 50 00 02 00 c8 | 00 6c cf 88 80 2c 00 00 |...P....|.l...,..|
|000024a0| ff ff 00 12 00 29 00 06 | 00 04 00 64 00 1c 01 7d |.....)..|...d...}|
|000024b0| 01 bd 00 64 00 1c 01 7d | 01 bd a5 ba 94 ef 00 00 |...d...}|........|
|000024c0| 00 00 00 00 00 00 00 00 | 00 00 01 00 00 00 00 1e |........|........|
|000024d0| 00 64 00 1c 01 7d 01 bd | 00 64 00 1c 01 7d 01 bd |.d...}..|.d...}..|
|000024e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000024f0| 00 0a 00 09 06 4d 6f 6e | 61 63 6f e2 00 00 00 08 |.....Mon|aco.....|
|00002500| 00 6e 00 0b 01 54 01 f3 | 00 00 00 04 00 18 00 04 |.n...T..|........|
|00002510| 00 00 01 00 00 00 01 90 | 00 00 00 90 00 00 00 7a |........|.......z|
|00002520| 00 45 02 64 06 40 00 00 | 00 1c 00 7a 00 03 4d 50 |.E.d.@..|...z..MP|
|00002530| 53 52 00 01 00 22 45 46 | 4e 54 00 00 00 3a 45 57 |SR..."EF|NT...:EW|
|00002540| 4e 44 00 00 00 46 45 54 | 41 42 00 00 00 52 03 ed |ND...FET|AB...R..|
|00002550| ff ff 00 00 00 00 00 00 | 00 00 03 f0 ff ff 00 00 |........|........|
|00002560| 00 4c 00 00 00 00 03 eb | ff ff 00 00 00 6e 00 45 |.L......|.....n.E|
|00002570| 46 24 01 00 ff ff 00 00 | 00 7c 00 45 46 20 03 ec |F$......|.|.EF ..|
|00002580| ff ff 00 00 00 88 00 45 | 46 1c 00 00 00 00 00 00 |.......E|F.......|
|00002590| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000025a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000025b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000025c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000025d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000025e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000025f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
+--------+-------------------------+-------------------------+--------+--------+